package com.qyhl.webtv.commonlib.entity.civilized;

import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;
import java.util.List;

public class PracticeTeamBean implements Serializable , Parcelable {
    //    {
//        "id": 1,
//            "name": "服务队一",
//            "desc": null,
//            "institutionId": 18,
//            "siteId": 127,
//            "createDate": "2019-04-15 10:10:26",
//            "modifyDate": "2019-04-15 10:10:28",
//            "actScore": 0,
//            "catalogId": 0,
//            "actNums": 0,
//            "actTimes": 0,
//            "orgStatus": "PASS",
//            "volNums": 0,
//            "totalScore": 0,
//            "streetName": "流亭街道分中心",
//            "typeName": "",
//            "volListName": null
//            "isExist": 1,
//            "role": ""
//    }
    private int id;
    private String name;
    private String desc;
    private int institutionId;
    private int siteId;
    private String createDate;
    private String modifyDate;
    private int actScore;
    private int catalogId;
    private int actNums;
    private int actTimes;
    private String orgStatus;
    private int volNums;
    private int totalScore;
    private String streetName;
    private String typeName;
    private String volListName;
    private int userOrgId;
    private String role;
    private int isReview;
    private String contactName;
    private String contactPhone;
    private String catalogName;
    private int isOpenContent;

    private String contentName;

    private List<PracticeCatalogBean> catalogs;

    public List<PracticeCatalogBean> getCatalogs() {
        return catalogs;
    }

    public void setCatalogs(List<PracticeCatalogBean> catalogs) {
        this.catalogs = catalogs;
    }

    public String getContentName() {
        return contentName;
    }

    public void setContentName(String contentName) {
        this.contentName = contentName;
    }

    public int getIsOpenContent() {
        return isOpenContent;
    }

    public void setIsOpenContent(int isOpenContent) {
        this.isOpenContent = isOpenContent;
    }

    public String getCatalogName() {
        return catalogName;
    }

    public void setCatalogName(String catalogName) {
        this.catalogName = catalogName;
    }

    public int getIsReview() {
        return isReview;
    }

    public void setIsReview(int isReview) {
        this.isReview = isReview;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getInstitutionId() {
        return institutionId;
    }

    public void setInstitutionId(int institutionId) {
        this.institutionId = institutionId;
    }

    public int getSiteId() {
        return siteId;
    }

    public void setSiteId(int siteId) {
        this.siteId = siteId;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(String modifyDate) {
        this.modifyDate = modifyDate;
    }

    public int getActScore() {
        return actScore;
    }

    public void setActScore(int actScore) {
        this.actScore = actScore;
    }

    public int getCatalogId() {
        return catalogId;
    }

    public void setCatalogId(int catalogId) {
        this.catalogId = catalogId;
    }

    public int getActNums() {
        return actNums;
    }

    public void setActNums(int actNums) {
        this.actNums = actNums;
    }

    public int getActTimes() {
        return actTimes;
    }

    public void setActTimes(int actTimes) {
        this.actTimes = actTimes;
    }

    public String getOrgStatus() {
        return orgStatus;
    }

    public void setOrgStatus(String orgStatus) {
        this.orgStatus = orgStatus;
    }

    public int getVolNums() {
        return volNums;
    }

    public void setVolNums(int volNums) {
        this.volNums = volNums;
    }

    public int getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(int totalScore) {
        this.totalScore = totalScore;
    }

    public String getStreetName() {
        return streetName;
    }

    public void setStreetName(String streetName) {
        this.streetName = streetName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getVolListName() {
        return volListName;
    }

    public void setVolListName(String volListName) {
        this.volListName = volListName;
    }

    public int getUserOrgId() {
        return userOrgId;
    }

    public void setUserOrgId(int userOrgId) {
        this.userOrgId = userOrgId;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.id);
        dest.writeString(this.name);
        dest.writeString(this.desc);
        dest.writeInt(this.institutionId);
        dest.writeInt(this.siteId);
        dest.writeString(this.createDate);
        dest.writeString(this.modifyDate);
        dest.writeInt(this.actScore);
        dest.writeInt(this.catalogId);
        dest.writeInt(this.actNums);
        dest.writeInt(this.actTimes);
        dest.writeString(this.orgStatus);
        dest.writeInt(this.volNums);
        dest.writeInt(this.totalScore);
        dest.writeString(this.streetName);
        dest.writeString(this.typeName);
        dest.writeString(this.volListName);
        dest.writeInt(this.userOrgId);
        dest.writeString(this.role);
        dest.writeInt(this.isReview);
        dest.writeString(this.contactName);
        dest.writeString(this.contactPhone);
        dest.writeString(this.catalogName);
        dest.writeInt(this.isOpenContent);
        dest.writeString(this.contentName);
    }

    public PracticeTeamBean() {
    }

    protected PracticeTeamBean(Parcel in) {
        this.id = in.readInt();
        this.name = in.readString();
        this.desc = in.readString();
        this.institutionId = in.readInt();
        this.siteId = in.readInt();
        this.createDate = in.readString();
        this.modifyDate = in.readString();
        this.actScore = in.readInt();
        this.catalogId = in.readInt();
        this.actNums = in.readInt();
        this.actTimes = in.readInt();
        this.orgStatus = in.readString();
        this.volNums = in.readInt();
        this.totalScore = in.readInt();
        this.streetName = in.readString();
        this.typeName = in.readString();
        this.volListName = in.readString();
        this.userOrgId = in.readInt();
        this.role = in.readString();
        this.isReview = in.readInt();
        this.contactName = in.readString();
        this.contactPhone = in.readString();
        this.catalogName = in.readString();
        this.isOpenContent = in.readInt();
        this.contentName = in.readString();
    }

    public static final Creator<PracticeTeamBean> CREATOR = new Creator<PracticeTeamBean>() {
        @Override
        public PracticeTeamBean createFromParcel(Parcel source) {
            return new PracticeTeamBean(source);
        }

        @Override
        public PracticeTeamBean[] newArray(int size) {
            return new PracticeTeamBean[size];
        }
    };
}
